package com.ruoyi.mapper.jpjs.manage;

import com.ruoyi.domain.jpjs.common.machinery.Machinery;
import com.ruoyi.domain.jpjs.common.machinery.MachineryDay;
import com.ruoyi.domain.jpjs.common.mater.Mater;
import com.ruoyi.domain.jpjs.common.mater.MaterCount;
import com.ruoyi.domain.jpjs.common.mater.MaterDay;
import com.ruoyi.domain.jpjs.common.municipal.Income;
import com.ruoyi.domain.jpjs.common.municipal.IncomeDetail;
import com.ruoyi.domain.jpjs.common.municipal.IncomeParam;
import com.ruoyi.domain.jpjs.common.municipal.expend.Manage;
import com.ruoyi.domain.jpjs.common.municipal.expend.Team;

import java.util.List;
import java.util.Map;

public interface ManageMapper {

    public List<Manage> queryManageList(Manage manage);

    public int insertManage(Manage manage);

    public int checkMonthUnique(Manage manage);

    public int checkMonthUniqueEdit(Manage manage);

    public int updateManage(Manage manage);

    public int deleteManageById(String[] manageId);

    public List<Team> queryTeamList(Team team);

    public int insertTeam(Team team);

    public int updateTeam(Team team);

    public int deleteTeamById(String[] teamId);

    public List<Mater> queryMaterList(Mater mater);

    public List<MaterDay> queryMaterDayList(MaterDay materDay);

    public List<MaterDay> queryMaterDayListBypId(MaterDay materDay);

    public int insertMaterialDay(MaterDay materDay);

    public int updateMaterialDay(MaterDay materDay);

    public int checkPurchaseDateUnique(MaterDay materDay);

    public int checkPurchaseDateUniqueEdit(MaterDay materDay);

    public int deleteMaterialDayById(String[] id);

    public int updateMater(Mater mater);

    public int addMater(Mater mater);

    public int checkMaterUnique(Mater mater);

    public int checkMaterUniqueEdit(Mater mater);

    public int checkMaterUniqueAdd(Mater mater);


    public int deleteMaterialById(String[] materialId);

    public int deleteMaterialDayBypId(String[] materialId);

    public List<Mater> queryMaterForCount(Mater mater);

    public List<Mater> queryMaterForQuantity(Mater mater);

    public List<Mater> queryMaterForPrevious(Mater mater);

    public List<Mater> queryMonthList(Mater mater);

    public List<Machinery> queryMachinerylist(Machinery machinery);

    public int insertMachinery(Machinery machinery);

    public int checkMachineryUniqueAdd(Machinery machinery);

    public int checkMachineryUniqueEdit(Machinery machinery);

    public int updateMachinery(Machinery machinery);

    public List<MachineryDay> queryMachineryDayList(MachineryDay machineryDay);

    public int insertMachineryDay(MachineryDay machineryDay);

    public int checkDateUnique(MachineryDay machineryDay);

    public List<MachineryDay> queryMachineryDayListBypId(MachineryDay machineryDay);

    public int checkDateUniqueEdit(MachineryDay machineryDay);

    public int updateMachineryDay(MachineryDay machineryDay);

    public int deleteMachineryDayById(String[] id);

    public List<Machinery> queryMachineryForCount(Machinery machinery);

    public int updateMachineryTotalPrice(Machinery machinery);

    public int deleteMachineryById(String[] machineryId);

    public int deleteMachineryDayBypId(String[] machineryId);

    // 包月
    public List<Machinery> queryMachinerylistMonth(Machinery machinery);

    public List<Machinery> queryMachineryForCountMonth(Machinery machinery);

    public int updateMachineryMonthTotalPrice(Machinery machinery);

    public int insertMachineryMonth(Machinery machinery);

    public int checkMachineryUniqueAddMonth(Machinery machinery);

    public int checkMachineryUniqueEditMonth(Machinery machinery);

    public int updateMachineryMonth(Machinery machinery);

    public int deleteMachineryByIdMonth(String[] machineryId);

    public List<MachineryDay> queryMachineryDayListMonth(MachineryDay machineryDay);

    public int insertMachineryDayMonth(MachineryDay machineryDay);

    public int checkDateUniqueMonth(MachineryDay machineryDay);

    public List<MachineryDay> queryMachineryDayListBypIdMonth(MachineryDay machineryDay);

    public int checkDateUniqueEditMonth(MachineryDay machineryDay);

    public int updateMachineryDayMonth(MachineryDay machineryDay);

    public int deleteMachineryDayByIdMonth(String[] id);

    public int deleteMachineryDayBypIdMonth(String[] machineryId);

    public int insertMaterCount(MaterCount materCount);

    public int updateMaterCount(MaterCount materCount);

    public int queryMaterCount(MaterCount materCount);

    public int deleteMaterCount();

}


